#ifndef SUNLIGHT_H
#define SUNLIGHT_H

#include <QDate>
#include <QMap>
#include <QTime>

struct DayInfo {
    QDate mDate;
    QTime mTimeSunRise;
    QTime mTimeSunSet;
};


class SunLight
{
public:
    SunLight();

    bool load(const QString fileName);

    void clear();

    QMap<QString, DayInfo> mMapDays;
};

#endif // SUNLIGHT_H
